﻿using System;

namespace ControlLibrary.ComponentModel {
    /// <summary>
    /// Entity for binding purposes, intended to be used with FormPickerEditor
    /// </summary>
    public class ComponentDescription {
        public ComponentDescription(Type type) {
            this._type = type;
        }

        private Type _type;
        public Type Type { 
            get { return _type; } 
        }

        public string Name {
            get { return _type.Name; }
        }

        public string Namespace {
            get { return _type.Namespace; }
        }
    }
}